home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today (Latin America) Volume 1 #6
/
CD-ROM Today 6 Latam.iso
/
kids
/
drbrain
/
sierra.inf
< prev
next >
Wrap
INI File
|
1996-07-16
|
4KB
|
187 lines
[Setup]
SetupSize=840
BillboardSize=0
CanInstallDOS=No
[Requirements]
SetupVer=3.1.0.1
Colors=256
MemKB=7168
PhysicalMem=7168
VideoSpeed=300
Wave=2
MIDI=0
CPU=486
WinVer=310
ScreenWidth=640
ScreenHeight=480
Joystick=0
Printer=0
CDROM=2
[Ident]
Version=1
; bogus product ID
ProductID=44444
[Dialogs]
BEGIN 0,NotifyDirectXInstall
NotifyDirectX
1, NotifyDirectXText
10, OKText
END
BEGIN 1,NotifyWin32sInstall
NotifyWin32s
1, NotifyWin32sText
10, OKText
END
BEGIN 2,NotifyWinGInstall
NotifyWinG
1, NotifyWinGText
10, OKText
END
BEGIN 3, Restart
Installation Complete
1, RestartPrompt1
1, RestartPrompt2
10, RestartNow, (), FLAG9
13, RestartLater
END
BEGIN 4, Done
AllDone
1, AllDoneText
10, OKText
END
BEGIN 5, FailedWinSpace
FailTitleWinSpace
1, FailTextWinSpace
1, FailTextWinSpace2
10, OKText
END
[Script]
:Begin
;
; FLAG usage:
; FLAG0 - TRUE if running on Win95
; FLAG3 - TRUE if WinG needs to be installed
; FLAG5 - TRUE if Win32s needs to be installed
; FLAG7 - TRUE if user does not have enough disk space
; FLAG9 - TRUE if user wants to restart computer
; FLAG20 - TRUE if the computer is using French
; FLAG21 - TRUE if the computer is using German
;
;
; Check what language the computer is using
LANGUAGE_EQ FRENCH FLAG20
LANGUAGE_EQ GERMAN FLAG21
;
;
; Determine if running on Win95
ONWIN95ONLY FLAG0
FLAG0 GOTO Win95Setup
GOTO Win31Setup
;
:Win95Setup
DIALOG NotifyDirectXInstall
INSTALLDIRECTX
GOTO ProgmanSetup
;
:Win31Setup
;
; Determine which system components will be installed
VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.0.0 FLAG5
VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
;
; Determine if there is enough space on system drive
FLAG3 WinDiskSpace_LT 500 FLAG7
FLAG7 GOTO NoWinSpace
FLAG5 WinDiskSpace_LT 2000 FLAG7
FLAG7 GOTO NoWinSpace
FLAG3 FLAG5 WinDiskSpace_LT 2500 FLAG7
FLAG7 GOTO NoWinSpace
;
:InstallWin32s
; Install Win32S via Microsoft Setup
FLAG5 DIALOG NotifyWin32sInstall
FLAG5 FLAG20 GOTO FrenchWin32sSetup
FLAG5 FLAG21 GOTO GermanWin32sSetup
;
; English (actually, anything other than French and German) Win32s Setup
FLAG5 RUN 0 nosearch *SOURCEDIR\WIN32SE\WSETUP.EXE
FLAG3 GOTO InstallWinG
GOTO ProgmanSetup
;
; French Win32s Setup
:FrenchWin32sSetup
FLAG5 RUN 0 nosearch *SOURCEDIR\WIN32SF\WSETUP.EXE
FLAG3 GOTO InstallWinG
GOTO ProgmanSetup
;
; German Win32s Setup
:GermanWin32sSetup
FLAG5 RUN 0 nosearch *SOURCEDIR\WIN32SG\WSETUP.EXE
FLAG3 GOTO InstallWinG
GOTO ProgmanSetup
;
;
:InstallWinG
; Install WinG via Microsoft Setup
FLAG3 DIALOG NotifyWinGInstall
FLAG3 FLAG20 GOTO FrenchWinGSetup
FLAG3 FLAG21 GOTO GermanWinGSetup
;
; English (actually, anything other than French and German) WinG Setup
FLAG3 RUN 0 nosearch *SOURCEDIR\WINGE\MSSETUP.EXE
GOTO ProgmanSetup
;
; French Win32G Setup
:FrenchWinGSetup
FLAG3 RUN 0 nosearch *SOURCEDIR\WINGF\MSSETUP.EXE
GOTO ProgmanSetup
;
; German WinG Setup
:GermanWinGSetup
FLAG3 RUN 0 nosearch *SOURCEDIR\WINGG\MSSETUP.EXE
GOTO ProgmanSetup
;
;
:ProgmanSetup
; Create "Sierra" or "Coktel" group and add program icons
ADDPROGMANGROUP Sierra
ADDPROGMANITEM *SOURCEDIR\DRBRAIN4.EXE,AppTitle,*SOURCEDIR\DRBRAIN4.EXE,*SOURCEDIR
;
;
; If any system files were installed, user MUST restart their system.
FLAG3 GOTO AskRestart
FLAG5 GOTO AskRestart
GOTO DoneInstalling
;
;
; Prompt user that their system needs to be restarted.
:AskRestart
DIALOG Restart
FLAG9 RESTARTWINDOWS
;
;
:DoneInstalling
DIALOG Done
GOTO End
;
;
; Display Not Enough space in Windows directory
:
:NoWinSpace
DIALOG FailedWinSpace
GOTO End
;
;
:End
END
[Archives]
; How's this for small footprint?
[Files]
; How's this for small footprint?